package com.xmim.fulcrum.handler;

import com.xmim.core.constants.MessageCode;
import com.xmim.core.entity.Notification;
import com.xmim.fulcrum.FulcrumDiscover;

public abstract class NotificationMessageHandler extends AbstractMessageHandler<Notification> {

    public NotificationMessageHandler(FulcrumDiscover fulcrumDiscover) {
        super(fulcrumDiscover);
    }

    @Override
    public Integer getType() {
        return MessageCode.MSG_FULCRUM_NOTIFICATION;
    }

    @Override
    protected Class<?> getMessageClass() {
        return Notification.class;
    }
}
